﻿<UserControl x:Class="ViCode_LeVi.Controls.VMTabBalanceAndOthers_Price_Material"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:vmcontrol="clr-namespace:ViCode_LeVi.Controls">
    <Grid >
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="6*"/>
            <ColumnDefinition Width="2"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="Auto"/>
        </Grid.ColumnDefinitions>
        <vmcontrol:VMTextBox Margin="2" VerticalAlignment="Center" Text="{Binding IndividualMaterial, UpdateSourceTrigger = PropertyChanged}" Grid.Column="0"/>
        <vmcontrol:VMTextBox_Number Margin="2" VerticalAlignment="Center" Text="{Binding Costs, UpdateSourceTrigger = PropertyChanged}" Grid.Column="2"/>
        <Button VerticalAlignment="Top"  OverridesDefaultStyle="True" MinHeight="0" MinWidth="0" Margin="2"  Grid.Column="3"  Name="Button_Remove" Click="Button_Remove_Click" Focusable="False">
            <Button.Content>
                <Image Source="pack://application:,,,/Images/closex.png" Stretch="Uniform"/>
            </Button.Content>
        </Button>
    </Grid>
</UserControl>
